package com.spring.springboot.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lking
 * @date 2019/11/27 20:23
 **/

@Component
@Data
@ConfigurationProperties (prefix ="user")
public class User {
    private int id;
    private String name;
    private Integer age;


}
